import Mock from "mockjs";
import banner from "./banners.json";

// mock数据 第一个参数为地址，第二个参数为请求数据
Mock.mock("/mock/banner", { code: 200, data: banner });
